package com.second.app.thread.synchroized.E;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class DemoRun {
    public static void main(String[] args) {
        ServiceMethod serviceMethod = new ServiceMethod();
        ThreadAA aa = new ThreadAA(serviceMethod);
        aa.setName("线程A");
        aa.start();
        ThreadBB bb = new ThreadBB(serviceMethod);
        bb.setName("线程B");
        bb.start();
        ThreadCC cc = new ThreadCC(serviceMethod);
        cc.setName("线程C");
        cc.start();


    }
}
